﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Base;

namespace svnAccessFile
{
    public class Project : baseItem<Project>
    {
        public Project()
        {
            AccessRights = new AccessRights();
            Paths = new ProjectPaths();
        }

        public Project(string name):this()
        {
            Name = name;
        }
        public AccessRights AccessRights
        {
            get;
            set;
        }

        public string Description
        {
            get;
            set;
        }

        public ProjectPaths Paths
        {
            get;
            set;
        }
    }

    public class Projects : baseList<Project>
    {
    }

    public class ProjectPath : baseItem<ProjectPath>
    {
        public ProjectPath()
        {
            AccessRights = new AccessRights();
        }
        public ProjectPath( string name) : this()
        {
            Name = name;
        }

        public AccessRights AccessRights
        {
            get;
            set;
        }

        public string Description
        {
            get;
            set;
        }
    }

    public class ProjectPaths : baseList<ProjectPath>
    {
    }
}
